<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'TX_NOME'); ?>
		<?php echo $form->textField($model,'TX_NOME',array('size'=>60,'maxlength'=>80)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ID_PERFIL'); ?>
		<?php
                    $dados = array(-1=>'Selecione');
                    $dados += $model->getPerfis();
                    echo $form->dropDownList($model, 'ID_PERFIL', $dados);
                ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'TX_EMAIL'); ?>
		<?php echo $form->textField($model,'TX_EMAIL',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ID_SITUACAO'); ?>
		<?php
                    $dados = array(-1=>'Selecione');
                    $dados += $model->getSituacoes(true);
                    echo $form->dropDownList($model, 'ID_SITUACAO', $dados);
                ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Pesquisar'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->